<?php
use think\facade\Route;

Route::rule('category/:dirs$', 'Category/index');           //栏目
Route::rule('detail/:mod/:id$', 'Detail/index');            //文章
Route::rule('search$', 'Search/index');                     //搜索
Route::rule('tags$', 'Search/index');                       //标签搜索
